#!/usr/bin/env python

import cgi
from module import db

form = cgi.FieldStorage()

if "name" in form:
	name = form["name"].value
if "pwd" in form:
	pwd = form["pwd"].value
	
user = db.getLogin(name,pwd)